package demo01;

import com.sun.xml.internal.ws.api.model.wsdl.WSDLOutput;

import javax.crypto.spec.PSource;

public class Outer {
    int num=10;
    public class Inner{
        int num=20;
        public void methodInner(){
            System.out.println("内部类方法：");
            int num=30;
            System.out.println("局部变量:"+num);//30
            System.out.println("内部类成员:"+this.num);
            System.out.println("外部类成员:"+Outer.this.num);
        }
    }
}
